﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using SyncList.Win;

namespace SyncList.Win
{
	/// <summary>
	/// Interaction logic for UCMainMenu.xaml
	/// </summary>
	public partial class UCMainMenu : UserControl
	{
		public UCMainMenu()
		{
			this.InitializeComponent();
            this.BtnScan.Click += new RoutedEventHandler(BtnScan_Click);
            this.BtnCompare.Click += new RoutedEventHandler(BtnCompare_Click);
            this.BtnCopy.Click += new RoutedEventHandler(BtnCopy_Click);
		}



        /// <summary>
        /// Scanner
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        void BtnScan_Click(object sender, RoutedEventArgs e)
        {
            WindowScan winScan = new WindowScan();
            winScan.ShowDialog();
        }

        /// <summary>
        /// Comparer
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        void BtnCompare_Click(object sender, RoutedEventArgs e)
        {
            WindowCompare winCompare = new WindowCompare();
            winCompare.ShowDialog();

        }

        /// <summary>
        /// Copier
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        void BtnCopy_Click(object sender, RoutedEventArgs e)
        {
            WindowCopy winCopy = new WindowCopy();
            winCopy.ShowDialog();
        }

	}
}